<div class="container w-xxl w-auto-xs" data-ng-init="app.settings.container = false;">
    <a href class="navbar-brand block m-t">{{ app.name }}</a>
    <div class="m-b-lg">
        <div class="wrapper text-center">
            <strong>欢迎回来</strong>
        </div>
        <form name="loginForm" class="form-validation" novalidate>
            <div class="text-danger wrapper text-center" data-ng-show="authError">
                {{ authError }}
            </div>

            <div class="list-group list-group-sm">
                <div class="list-group-item">
                    <input type="text" placeholder="用户名" class="form-control no-border" data-ng-model="user.name" required />
                </div>

                <div class="list-group-item">
                    <input type="password" placeholder="密码" class="form-control no-border" data-ng-model="user.password" required />
                </div>
            </div>

            <button type="submit" class="btn btn-primary btn-lg btn-block" data-ng-click="login()" data-ng-disabled='loginForm.$invalid'>登录</button>
        </form>
    </div>

    <div class="text-center">
        <p class="small text-muted">CopyRight 2016 &copy; {{ app.name }}</p>
    </div>
</div>